package com.photoeditor.demo.model.image.collage.templet;

import android.graphics.drawable.ColorDrawable;
import android.graphics.drawable.Drawable;


/**
 * 单一颜色值的bg bean
 */
public class ColorBgBean extends BgBean<Drawable> {

    private Drawable mDrawable;

    public ColorBgBean(int color){
        mDrawable = new ColorDrawable(color);
    }

    @Override
    public Drawable get() {
        return mDrawable;
    }
}
